<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <style>
        .wrap{
            width: 100%;
            height: 100%;
        }
        h1{
            font-size: 0px;
            position: absolute;
            animation: word 1s linear infinite;
            float: left;
            overflow: hidden;
            animation: word 6s ease-out infinite;
            left: 600px;
        }
        h1:nth-child(1){
            animation-delay: 0s;
        }
        h1:nth-child(2){
            animation-delay: 1s;
        }
        h1:nth-child(3){
            animation-delay: 2s;
        }
        h1:nth-child(4){
            animation-delay: 3s;
        }
        h1:nth-child(5){
            animation-delay: 4s;
        }
        h1:nth-child(6){
            animation-delay: 5s;
        }
        @keyframes word{
            0%{
                font-size: 0;
                color: skyblue;
            }
            16.66%{
                font-size: 50px;
                transform: translateY(400px);
                color: pink;
            }
            100%{
                font-size: 0px;
            }
        }
    </style>
    <div class="wrap">
    <h1>别</h1>
    <h1>看</h1>
    <h1>了</h1>
    <h1>没</h1>
    <h1>有</h1>
    <h1>了</h1>
</div>
</body>
</html>